package info.techgeek.labs.java5Features.generics;

import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;


public class GenericsTreeSet {

	public static void main(String[] args) {
		
		Set<String> set1 = new HashSet<String>();  
		Set<String> set2 = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);  
		set1.add("Hello");  
		set2.add("HELLO");  
		System.out.println(set1.equals(set2));  
		System.out.println(set2.equals(set1)); 
		
	}
	
}
